#pragma once

namespace util
{
	template<class T> class unique_lock
	{
	public:
		unique_lock(T& t)
		{
		}
		~unique_lock()
		{
		}
	};

	class recursive_mutex
	{
	public:
		recursive_mutex();
		~recursive_mutex();

		void lock()
		{
			::EnterCriticalSection(&m_mutex);
		}
		void unlock();

	private:
		CRITICAL_SECTION m_mutex;
	};
}
